import https from '@/plugins/luch-request_0.0.7/request'
export default {
	/** 企业介绍信息 — 获取 */
	getCompanyAllInfo: param => https.get('/apihkds/api/company/all/info', param),
	/** 简介 */
	getProfile: param => https.get('/apihkds/api/company/profile', param),
	editProfile: param => https.post('/apihkds/api/company/profile', param),
	/** 历程 */
	deleteCourse: param => https.get('/apihkds/api/company/course/delete', param),
	getCourse: param => https.get('/apihkds/api/company/course', param),
	addCourse: param => https.post('/apihkds/api/company/course/add', param),
	/**
       * 证书增删改
       * */
	getCertificate: param => https.get('/apihkds/api/company/certificate', param),

	addCertificate: param => https.post('/apihkds/api/company/certificate', param),

	deleteCertificate: param => https.get('/apihkds/api/company/certificate/delete', param),

	/**
       * 动态增删改
       * */
	getNews: param => https.get('/apihkds/api/company/news', param),
	addNews: param => https.post('/apihkds/api/company/news', param),

	deleteNews: param => https.get('/apihkds/api/company/news/delete', param),

	editNews: param => https.post('/apihkds/api/company/news/update', param),

	/**
       * 品牌增删改
       * */
	getBrand: param => https.get('/apihkds/api/company/brand', param),
	addBrand: param => https.post('/apihkds/api/company/brand', param),

	deleteBrand: param => https.get('/apihkds/api/company/brand/delete', param),

	/**
       * 招聘增删改
       */
	getJob: param => https.get('/apihkds/api/company/job', param),
	addJob: param => https.post('/apihkds/api/company/job', param),

	deleteJob: param => https.get('/apihkds/api/company/job/delete', param),

	editJob: param => https.post('/apihkds/api/company/job/update', param),
	detailJobJob: param => https.get('/apihkds/api/company/job/detail', param),
	/** 企业配置开关 */
	getSetCofig: param => https.get('/apihkds/api/companyconfig', param),
	/** 企业配置开关 */
	getSetUpdate: param => https.post('/apihkds/api/companyconfig/update', param)
}
